<p>Creates polygons with two corners given.</p>
